import { request } from "./http";

export const pageViewAPI = {
  /**
   * @desc 按照页面地址分组
   * @param params
   */
  list(params: any) {
    return request({
      method: "GET",
      url: `pageview/getGroup`,
      query: params
    });
  },
  
  historyByUrl(params: any) {
    return request({
      method: "GET",
      url: `pageview/getHistoryByUrl`,
      query: params
    });
  }
};
